package com.hgw.Demo04_BridgePattern.examples;

/**
 * Data time:2021/12/14 21:57
 * StudentID:2019112118
 * Author:hgw
 * Description: 抽象图像类，充当抽象类
 */
public abstract class Image {
    protected ImageImpl image;

    // 注入实现类接口对象
    public void setImage(ImageImpl image) {
        this.image = image;
    }

    public abstract void parseFile(String fileName);
}
